package com.jamu.mbok;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.Window;
import android.view.WindowManager;
import android.widget.CheckBox;

public class OptionScreen extends Activity{
	CheckBox check1, check2;
	
	/** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        requestWindowFeature(Window.FEATURE_NO_TITLE);
		getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
        setContentView(R.layout.homescreen);
        
        this.castItem();
        
        this.addAction();
        
    }
    
    public void castItem() {
    	
    	check1 = (CheckBox)findViewById(R.id.check1);
    	check2 = (CheckBox)findViewById(R.id.check2);
	}
    
    public void addAction(){
    	
    	check1.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				// Perform action on clicks, depending on whether it's now checked
		        if (((CheckBox) v).isChecked()) {
		            
		        } else {
		            
		        }
			}
		});

    }
    
}
